<?php

require_once '../../../config/config.php';

$arr = explode(',', $_POST['items']);

foreach ($arr as $id) {
    $sql = 'UPDATE exposant SET statut_compte = -2 WHERE id = "' . $id . '"';
    mysql_query($sql) or die(mysql_error);
}
echo '1';
?>
